<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[#include "/webpage/common/common_css.html"/]
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${cache}/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="${cache}/images/tab_05.gif">
        <img src="${cache}/images/311.gif" width="16" height="16" /> 
		    <span class="STYLE4">${title}</span></td>
        <td width="281" background="${cache}/images/tab_05.gif" style="text-align:right;cursor:pointer" 
             onclick="location.href='${base}/userMain.do';"  >
              <img src="${cache}/images/002.gif" width="14" height="14" />
              <label style="font-size:12px;">返回</label>
        </td>
        <td width="14"><img src="${cache}/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
	</td>
  </tr>
  <tr>
    <td>
	   <table width="100%" border="0" cellspacing="0" cellpadding="0" >
       <tr style="height:20px;">
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3" style="width:20%"></td>
        <td bgcolor="#f3ffe3" ></td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
      <tr>
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
         <td bgcolor="#f3ffe3" style="width:10%"></td>
        <td bgcolor="#f3ffe3">  
                <form id="userForm" method="post"  action="${base!}/userMain/updateUserInfo.do">  
                  <input type="hidden" name="user*id" value="${user.id!}">
                  <table style="width:100%;font-size:12px;" cellspacing="5px" cellpadding="4px">
                       <tr>
                          <td style="text-align:right">上级代理:</td>
                          <td style="text-align:left">
                              ${user.userPname!}
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">会员类型:</td>
                          <td style="text-align:left">
                               <input name="user*userType" type="radio" value="0" [#if user.userType=0]checked="true"[/#if] />代理
                               <input name="user*userType" type="radio"  value="1" [#if user.userType=1]checked="true"[/#if] />会员
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">虚拟账号:</td>
                          <td style="text-align:left">
                               <input name="user*virtualAccount" 
                                type="radio" value="0" [#if user.virtualAccount?exists&&user.virtualAccount=0]checked="true"[/#if] />否
                               <input name="user*virtualAccount" 
                                type="radio"  value="1" [#if user.virtualAccount?exists&&user.virtualAccount=1]checked="true"[/#if] />是
                                                                                      （系统虚拟账号将不会纳入账务报表，请谨慎操作）
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">用户名:</td>
                          <td style="text-align:left">
                            <input name="user*loginName"   readonly="true"  value="${user.loginName!}" />
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">密码:</td>
                          <td style="text-align:left">
                              <input name="user*userPassword" type="password"  />&nbsp;(&nbsp;置空默认不修改&nbsp;)
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">资金密码:</td>
                          <td style="text-align:left">
                               <input name="user*coinPassword" type="password"  />&nbsp;(&nbsp;置空默认不修改&nbsp;)
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">性别:</td>
                          <td style="text-align:left">
                               <input name="user*userSex" type="radio" value="男" [#if user.userSex="男"]checked="true"[/#if]  />男
                               <input name="user*userSex" type="radio"  value="女" [#if user.userSex="女"]checked="true"[/#if] />女
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">状态:</td>
                          <td style="text-align:left">
                               <input name="user*status" type="radio" value="0"  [#if user.status=0]checked="true"[/#if]   />启用
                               <input name="user*status" type="radio"  value="1" [#if user.status=1]checked="true"[/#if]  />停用
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">账号金额:</td>
                          <td style="text-align:left">
                               <input type="text" value="[#if user.coin?exists]${user.coin!}[#else]0.00[/#if]" name="user*coin" />
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">冻结金额:</td>
                          <td style="text-align:left"> 
                               <input type="text" value="[#if user.fcoin?exists]${user.fcoin!}[#else]0.00[/#if]" name="user*fcoin" />
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">返点%:</td>
                          <td style="text-align:left">
                               <input name="user*fanDian" id="fanDian" value="${user.fandian*100!}" maxValue="${user.pFanDian!}"/>  
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">注册地址:</td>
                          <td style="text-align:left">
                               ${user.registerAddr!}（判断是否为恶意注册的小号）
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">加入时间:</td>
                          <td style="text-align:left">
                                ${user.registerDate!}
                          </td>
                       </tr>
                         <tr>
                          <td style="text-align:right">用户QQ:</td>
                          <td style="text-align:left">
                                ${user.userQq!}
                          </td>
                       </tr> 
                        <tr>
                          <td style="width:15%"></td>
                          <td>
                              <input type="button" value="保存" onclick="updateUserInfo()" />
                                &nbsp;&nbsp;
                               <input type="reset" value="重置"/>
                          </td>
                       </tr> 
                    </table>
               </form> 
        </td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr height="30">
        <td width="15" >
        <img src="${cache}/images/tab_20.gif" width="15"   /></td>
        <td background="${cache}/images/tab_21.gif" style="text-align:center"> 
        </td>
        <td width="14"><img src="${cache}/images/tab_22.gif" width="14"  /></td>
      </tr> 
</table>
[#include "/webpage/common/common_js.html"/]
<script type="text/javascript" src="${cache}/js/user/userInfo.js"></script> 
</body>
</html>
